package com.guofen.dao;

import com.guofen.pojo.SjqWaterProductionEquipmentInspection;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqWaterProductionEquipmentInspectionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqWaterProductionEquipmentInspection record);

    int insertSelective(SjqWaterProductionEquipmentInspection record);

    SjqWaterProductionEquipmentInspection selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqWaterProductionEquipmentInspection record);

    int updateByPrimaryKey(SjqWaterProductionEquipmentInspection record);

    SjqWaterProductionEquipmentInspection findLast();

    List<SjqWaterProductionEquipmentInspection> selectAll();

    List<SjqWaterProductionEquipmentInspection> selectByDate(@Param("startDate") String startDate,
                                            @Param("endDate") String endDate);
}